package com.ylt.dao.mysqldb;

import com.ylt.entity.XcxEzqCart;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author zhouliang
 * @create 2018-12-03 18:14
 */
@Mapper
public interface ShopChatDao {
    List selectXCX_EZQ_CART(XcxEzqCart xcxEzqCart);

    List selectExistsItem(Map<String,Object> xcxEzqCart);

    Integer putXCX_EZQ_CART(Map<String,Object> charMap);

    int deleteByPrimaryKey(Integer lineId);

    int clearCart(XcxEzqCart xcxEzqCart);

    int insert(XcxEzqCart record);

    int insertSelective(XcxEzqCart record);

    XcxEzqCart selectByPrimaryKey(Integer lineId);

    int updateByPrimaryKeySelective(XcxEzqCart record);

    int updateByPrimaryKey(XcxEzqCart record);

    int updateByOrderQty(Map<String,Object> charMap);    
    List selectT_USER4Check(Map<String,Object> t_userMap);    
    int insertT_USER(Map<String,Object> t_userMap);
    int insertYLT_USER_SHOP_REL(Map<String,Object> t_userMap);
    List selectYLT_USER_SHOP_REL(Map t_userMap);


    //获取支付相关的方法
    List selectPayIfExist(Map wxMap);
    int insertYH_PAY_ORDER_HEADER(Map wxMap);
    int insertYH_PAY_ORDER_LINE(Map wxMap);
    int insertPayNotice(Map wxMap);
    int updatePayHeaderZT(Map wxMap);
    void updatePayLineZT(Map wxMap);
    List selectPayHByTransno(Map wxMap);
    List selectPayLByHID(Map wxMap);
    List selectMerchant(Map wxMap);
    List selectPayHeaderByNo(Map wxMap);
    int updateT_USERS_LASTSHOPID(Map pMap);
    int deleteByT_U_ID(String ezqUId);

    int updateWithdrawZT(Map wxMap);

//    List selectImageInfo(String shopId);
//    List selectYlt_news();
//    void binding_wx(Map wxMap);
//    Integer binding_wx_check(Map wxMap);
//    List selectYlt_orders_header(Map wxMap);
//    List selectYlt_orders_line(String b2b_order_number);
//    Map selectYlt_customerInfo(String wx_id);
//
//    // 获取支付过的订单
//    List getPAY_B2B_ORDER_NUMBER(Map wxMap);
//    Map getB2B_ORDER_NUMBER_SUM_ORDER_ZE(Map wxMap);
//    Map getYH_ORDER_PAY_HEADER(Map wxMap);
//    void insert_YH_ORDER_PAY_HEADER(Map wxMap);
//    void insert_YH_ORDER_PAY_LINE(Map wxMap);
//    void update_PAY_HEADERANDLINE(Map wxMap);
//    //查询商品
//    List select_Items(Map map);
//
//    void creatYLT_CUSTOMER_HZ();
//
//    void insert_ylt_product_registration(Map wxMap);
//    // 我的报货
//
//    List get_ylt_product_registration(Map wxMap);
//
//    // 取消报货
//    void ylt_cancle_registration(Map wxMap);
//    // 一个商品只能报一次货
//    Integer check_registration(Map<String, Object> reqMap);
//
//    void ylt_signOrder(Map<String, Object> reqMap);
}
